﻿/*******************************************************
*类名称：WechatTokenManager
*版本号：V1.0.0.0
*作者：成俊杰
*CLR版本：4.0.30319.36264
*创建时间：2017-08-17 09:56:17
*说明：T_WechatToken实体类
*更新备注：
**********************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Dapper.Contrib.Extensions;

namespace Wechat.Domain
{
    /// <summary>
    /// T_WechatToken
    /// </summary>
    [Table("T_WechatToken")]
    public class WechatToken
    {
        /// <summary>
        /// Id
        /// </summary>
        [Key]
        public int Id { get; set; }

        /// <summary>
        /// AccessToken
        /// </summary>
        public string AccessToken { get; set; }

        /// <summary>
        /// OpenId
        /// </summary>
        public int? OpenId { get; set; }

        /// <summary>
        /// TokenType
        /// </summary>
        public int? TokenType { get; set; }

        /// <summary>
        /// StartTime
        /// </summary>
        public DateTime? StartTime { get; set; }

        /// <summary>
        /// ExpiresTime
        /// </summary>
        public DateTime? ExpiresTime { get; set; }

    }
}